package com.blrs.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 contract_management_info
 * 
 * @author ruoyi
 * @date 2023-11-30
 */
public class ContractManagementInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合同id */
    private String contractId;

    /** 主分类 */
    private String classificationId;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String contractName;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractNumber;

    /** 关联合同号id */
    private String relatedContractId;

    /** 关联合同号名称 */
    @Excel(name = "关联合同号名称")
    private String relatedContractName;

    /** 合同金额 */
    @Excel(name = "合同金额")
    private BigDecimal contractAmount;

    /** 签订时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签订时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signingTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 客户id */
    private String enterpriseId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String enterpriseName;

    /** 客户地址 */
    @Excel(name = "客户地址")
    private String customerAddress;

    /** 客户联系人 */
    @Excel(name = "客户联系人")
    private String customerContact;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String telephone;

    /** 销售人员id */
    private Long salespersonId;

    /** 销售人员名称 */
    @Excel(name = "销售人员名称")
    private String salespersonName;

    /** 附加条款 */
    @Excel(name = "附加条款")
    private String additionalTerms;

    /** 归属于 */
    private Long belongTo;

    /** 创建人id */
    private Long creationId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creationName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date operateTime;

    /** 操作人id */
    private Long operateId;

    /** 操作人姓名 */
    private String operateName;

    /** 部门id */
    private Long departmentId;

    /** 部门名称 */
    private String departmentName;

    /** 组织机构id */
    private Long organizationId;

    /** 组织机构名称 */
    private String organizationName;

    /** 是否删除 */
    private String delFlag;

    /** 状态 */
    private String state;
    /** 提供来源 */
    @Excel(name = "提供来源")
    private String provideSources;
    /** 提供人 */
    @Excel(name = "提供人")
    private String provider;
    /** 业务费 */
    @Excel(name = "业务费")
    private BigDecimal cost;
    private String productName;
    private String covenantId;
    //最新审核人
    private String reviewer;
    private String reviewResult;



    private String idPath;
    private String sign;
    private String url;
    private String contractReviewer;
    private String amountReceived;

    private String remark;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 商机id
     */
    private String businessId;

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public void setContractId(String contractId)
    {
        this.contractId = contractId;
    }

    public String getContractId()
    {
        return contractId;
    }
    public void setClassificationId(String classificationId)
    {
        this.classificationId = classificationId;
    }

    public String getClassificationId()
    {
        return classificationId;
    }
    public void setContractName(String contractName)
    {
        this.contractName = contractName;
    }

    public String getContractName()
    {
        return contractName;
    }
    public void setRelatedContractId(String relatedContractId)
    {
        this.relatedContractId = relatedContractId;
    }

    public String getRelatedContractId()
    {
        return relatedContractId;
    }
    public void setRelatedContractName(String relatedContractName)
    {
        this.relatedContractName = relatedContractName;
    }

    public String getRelatedContractName()
    {
        return relatedContractName;
    }
    public void setContractAmount(BigDecimal contractAmount)
    {
        this.contractAmount = contractAmount;
    }

    public BigDecimal getContractAmount()
    {
        return contractAmount;
    }
    public void setSigningTime(Date signingTime)
    {
        this.signingTime = signingTime;
    }

    public Date getSigningTime()
    {
        return signingTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setEnterpriseId(String enterpriseId)
    {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseId()
    {
        return enterpriseId;
    }
    public void setEnterpriseName(String enterpriseName)
    {
        this.enterpriseName = enterpriseName;
    }

    public String getReviewResult() {
        return reviewResult;
    }

    public void setReviewResult(String reviewResult) {
        this.reviewResult = reviewResult;
    }

    public String getEnterpriseName()
    {
        return enterpriseName;
    }
    public void setCustomerAddress(String customerAddress)
    {
        this.customerAddress = customerAddress;
    }

    public String getCustomerAddress()
    {
        return customerAddress;
    }
    public void setCustomerContact(String customerContact)
    {
        this.customerContact = customerContact;
    }

    public String getCustomerContact()
    {
        return customerContact;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setSalespersonId(Long salespersonId)
    {
        this.salespersonId = salespersonId;
    }

    public Long getSalespersonId()
    {
        return salespersonId;
    }
    public void setSalespersonName(String salespersonName)
    {
        this.salespersonName = salespersonName;
    }

    public String getSalespersonName()
    {
        return salespersonName;
    }
    public void setAdditionalTerms(String additionalTerms)
    {
        this.additionalTerms = additionalTerms;
    }

    public String getAdditionalTerms()
    {
        return additionalTerms;
    }
    public void setBelongTo(Long belongTo)
    {
        this.belongTo = belongTo;
    }

    public Long getBelongTo()
    {
        return belongTo;
    }
    public void setCreationId(Long creationId)
    {
        this.creationId = creationId;
    }

    public Long getCreationId()
    {
        return creationId;
    }
    public void setCreationName(String creationName)
    {
        this.creationName = creationName;
    }

    public String getCreationName()
    {
        return creationName;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setOperateTime(Date operateTime)
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime()
    {
        return operateTime;
    }
    public void setOperateId(Long operateId)
    {
        this.operateId = operateId;
    }

    public Long getOperateId()
    {
        return operateId;
    }
    public void setDepartmentId(Long departmentId)
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId()
    {
        return departmentId;
    }
    public void setDepartmentName(String departmentName)
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName()
    {
        return departmentName;
    }
    public void setOrganizationId(Long organizationId)
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId()
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName)
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName()
    {
        return organizationName;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getCovenantId() {
        return covenantId;
    }

    public void setCovenantId(String covenantId) {
        this.covenantId = covenantId;
    }

    public String getReviewer() {
        return reviewer;
    }

    public void setReviewer(String reviewer) {
        this.reviewer = reviewer;
    }

    public String getIdPath() {
        return idPath;
    }

    public void setIdPath(String idPath) {
        this.idPath = idPath;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getContractReviewer() {
        return contractReviewer;
    }

    public void setContractReviewer(String contractReviewer) {
        this.contractReviewer = contractReviewer;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getProvideSources() {
        return provideSources;
    }

    public void setProvideSources(String provideSources) {
        this.provideSources = provideSources;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String getAmountReceived() {
        return amountReceived;
    }

    public void setAmountReceived(String amountReceived) {
        this.amountReceived = amountReceived;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractId", getContractId())
            .append("classificationId", getClassificationId())
            .append("contractName", getContractName())
            .append("relatedContractId", getRelatedContractId())
            .append("relatedContractName", getRelatedContractName())
            .append("contractAmount", getContractAmount())
            .append("signingTime", getSigningTime())
            .append("endTime", getEndTime())
            .append("enterpriseId", getEnterpriseId())
            .append("enterpriseName", getEnterpriseName())
            .append("customerAddress", getCustomerAddress())
            .append("customerContact", getCustomerContact())
            .append("telephone", getTelephone())
            .append("salespersonId", getSalespersonId())
            .append("salespersonName", getSalespersonName())
            .append("additionalTerms", getAdditionalTerms())
            .append("belongTo", getBelongTo())
            .append("creationId", getCreationId())
            .append("creationName", getCreationName())
            .append("creationTime", getCreationTime())
            .append("operateTime", getOperateTime())
            .append("operateId", getOperateId())
            .append("departmentId", getDepartmentId())
            .append("departmentName", getDepartmentName())
            .append("organizationId", getOrganizationId())
            .append("organizationName", getOrganizationName())
            .append("delFlag", getDelFlag())
            .append("state", getState())
            .toString();
    }
}
